package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TriggerActionTime {

    private int beginIndex;
    private int endIndex;
    private boolean before;
    private boolean after;

    public TriggerActionTime(int beginIndex,
                             int endIndex,
                             boolean before,
                             boolean after) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.before = before;
        this.after = after;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isBefore() {
        return before;
    }

    public boolean isAfter() {
        return after;
    }

}
